package com.example.tianyidemo.service.impl;

import com.example.tianyidemo.Mapper.UpdatesectionMapper;
import com.example.tianyidemo.pojo.Section;
import com.example.tianyidemo.service.UpdatesectionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

//@Service
//public class Updatesectionimpl {
//}
@Service
public class Updatesectionimpl implements UpdatesectionService {
    @Autowired
    private UpdatesectionMapper updatesectionMapper;


    @Override
    public boolean updateSection(Section section) {
        return updatesectionMapper.updateSection(section);
    }
}